package org.springblade.modules.repair.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
    * 维保维修历史操作记录
    */
@Data
public class MaintainMalfunctionRecordVO {

	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

    /**
     * 维修历史记录id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long malHistoryId;

    /**
     * 用户id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

	private String userName;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

    /**
     * 描述
     */
    private String desc;

}
